package com.youlu.campus.service.data;

import com.youlu.campus.entity.VO.req.UserJoinActivityDataQueryVO;
import com.youlu.campus.entity.data.JoinActivity;
import com.youlu.campus.entity.data.UserJoinActivityData;
import org.springframework.data.domain.Page;

import java.util.Map;

public interface UserJoinActivityDataService {

    UserJoinActivityData create(UserJoinActivityData req);

    boolean update(UserJoinActivityData u);

    boolean delete(String id);

    Map<String, Object> dataImport(byte[] inputStream, String fileName, String activityId);

    Page<UserJoinActivityData> list(UserJoinActivityDataQueryVO req);

    /**
     * 导出数据
     *
     * @param req
     * @return
     */
    String export(UserJoinActivityDataQueryVO req);

    JoinActivity find(String name);



}
